package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 guestbook_ask
 * 
 * @author ruoyi
 * @date 2025-04-07
 */
public class GuestbookAsk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 浏览ID */
    private String askid;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userid;

    /** 信箱ID */
    @Excel(name = "信箱ID")
    private String guestbookid;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 是否隐私 */
    @Excel(name = "是否隐私")
    private Long shifouyinsi;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String lianxifangshi;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 正文 */
    @Excel(name = "正文")
    private String content;

    /** 留言时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "留言时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date liuyanshijian;

    /** IP */
    @Excel(name = "IP")
    private String ip;

    /** 种类(投诉、建议) */
    @Excel(name = "种类(投诉、建议)")
    private String zhonglei;

    /** 部门 */
    @Excel(name = "部门")
    private String bumen;

    public void setAskid(String askid) 
    {
        this.askid = askid;
    }

    public String getAskid() 
    {
        return askid;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setGuestbookid(String guestbookid) 
    {
        this.guestbookid = guestbookid;
    }

    public String getGuestbookid() 
    {
        return guestbookid;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setShifouyinsi(Long shifouyinsi) 
    {
        this.shifouyinsi = shifouyinsi;
    }

    public Long getShifouyinsi() 
    {
        return shifouyinsi;
    }
    public void setLianxifangshi(String lianxifangshi) 
    {
        this.lianxifangshi = lianxifangshi;
    }

    public String getLianxifangshi() 
    {
        return lianxifangshi;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setLiuyanshijian(Date liuyanshijian) 
    {
        this.liuyanshijian = liuyanshijian;
    }

    public Date getLiuyanshijian() 
    {
        return liuyanshijian;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setZhonglei(String zhonglei) 
    {
        this.zhonglei = zhonglei;
    }

    public String getZhonglei() 
    {
        return zhonglei;
    }
    public void setBumen(String bumen) 
    {
        this.bumen = bumen;
    }

    public String getBumen() 
    {
        return bumen;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("askid", getAskid())
            .append("userid", getUserid())
            .append("guestbookid", getGuestbookid())
            .append("nickname", getNickname())
            .append("shifouyinsi", getShifouyinsi())
            .append("lianxifangshi", getLianxifangshi())
            .append("title", getTitle())
            .append("content", getContent())
            .append("liuyanshijian", getLiuyanshijian())
            .append("ip", getIp())
            .append("zhonglei", getZhonglei())
            .append("bumen", getBumen())
            .toString();
    }
}
